home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 11
/
CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso
/
s
/
adprocomm.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-03-14
|
816b
|
53 lines
/*
ADPro Communications script
*/
arguments = getclip(ppuser_adargs)
if args = '' then exit
parse var arguments iwidth ';' iheight ';' rendermode ';' filename ';' mode
adstart = 0
early = 1
do 10
if ~show(p, 'ADPro') then
call delay(100)
else
do
adstart = 1
leave
end
early = 0
end
if ~adstart then
do
call setclip(ppuser_adclip, "0")
exit_msg()
end
call setclip(ppuser_adclip, "1")
if ~early then
call ppm_Inform(1,"Started ADPro. You must quit ADPro to reimport BitMap..",)
address 'ADPro'
'ADPRO_TO_FRONT'
'SCREEN_TYPE' mode
'LFORMAT' IFF
'SFORMAT' IFF
'LOAD' '"'filename'"'
'RENDER_TYPE' rendermode
'ABS_SCALE' iwidth iheight
exit_msg()
exit_msg: procedure
do
arg message
if message ~= '' then call ppm_Inform(1,message,)
exit
end